#pragma once
#include "HPSocket.h"
#include "SocketInterface.h"

class ClientHandler : public CTcpClientListener
{
public:
	PVOID pDlg;
	ClientHandler();
	~ClientHandler();
	EnHandleResult OnReceive(ITcpClient* pSender, CONNID dwConnID, const BYTE* pData, int iLength);
	EnHandleResult OnClose(ITcpClient* pSender, CONNID dwConnID, EnSocketOperation enOperation, int iErrorCode);

	EnHandleResult OnConnect(ITcpClient* pSender, CONNID dwConnID);
};

